-
Notifications
You must be signed in to change notification settings - Fork 464
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Impossible to create messaging services through AccountInstance resource #661
Comments
I'm trying to escalate this through your internal support ID #12597290. 2 weeks without any triage here sounds bad. |
Twilio's support directed me to https://www.twilio.com/docs/iam/api/subaccounts#authentication, more specifically
I'm still checking to see if there's the option to change this in the future to make the experience more seamless. |
This was their response:
I'll keep this issue open for now, but any Twilio rep can close it if you think this should be closed. |
Issue Summary
We are trying to create messaging services on a subaccount. At first, we tried doing so following what is suggested on the README, by instantiating a client containing the
subaccount_sid
and then hitting themessaging
APIThat does not work because the gem uses the main account SID instead of the subaccount SID in the request path. That's already been explained on #225.
When trying the workaround on that issue we found the actual issue here:
messaging
is not defined on theAccountInstance
classtwilio-ruby/lib/twilio-ruby/rest/api/v2010/account.rb
Line 679 in e6ef538
For that reason, this does not work:
messaging
is not the only missing namespace, astrusthub
cannot be found either.Technical details:
The text was updated successfully, but these errors were encountered: