When I try to use an API with the Ruby SDK (0.70.1), I get the following error:
![](//inin-prod-use1-developerforum.s3.amazonaws.com/original/1X/4a2d2c0a6115fa2ed26f71ae06fb78662b5e387f.png)
Here is my code:
![](//inin-prod-use1-developerforum.s3.amazonaws.com/original/1X/96a8b9343e77a7d9ef4e3a34c6bbd4b5ab27727f.png)
Could you help? Also, it looks like one dependency (rest_client) needs to be updated to use rest-client instead (see first warning in the first screenshot
1 Like
Can you try this against mypurecloud.com? I'm not able to reproduce this problem using your code (and don't have an org in .ie).
As a side note, you're going to get a 400 response for get_me when you're using client credentials because there is no user context for a client credentials auth token.