pierrick | 2017-04-05 13:23:02 UTC | #1
When I try to use an API with the Ruby SDK (0.70.1), I get the following error:
<img src="//inin-prod-use1-developerforum.s3.amazonaws.com/original/1X/4a2d2c0a6115fa2ed26f71ae06fb78662b5e387f.png" width="690" height="298">
Here is my code:
<img src="//inin-prod-use1-developerforum.s3.amazonaws.com/original/1X/96a8b9343e77a7d9ef4e3a34c6bbd4b5ab27727f.png" width="521" height="369">
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
tim.smith | 2017-04-06 18:17:22 UTC | #2
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.
system | 2017-08-28 19:33:37 UTC | #3
This post was migrated from the old Developer Forum.
ref: 1148