Transfer functionality not working: throws Error: Invalid Header

Thanks for Your response!
I did found the issue it was cause our custom API Gateway does not allow websockets