Description
Hi,
I have an error on parsing an API response error.
`<TITLE>Access Denied</TITLE>
Access Denied
You don't have permission to access "http://api.eu-gb.assistant.watson.cloud.ibm.com/v2/assistants/fa41d158-9382-4da6-9db8-7c47fb92e141/sessions/e9283ba2-2cc3-450d-9688-0450c8d5856c/message?" on this server.
Reference #18.be3e2217.1674809815.1927c3e
json-2.3.1/lib/json/common.rb:263:in parse' ibm_cloud_sdk_core/api_exception.rb:15:in
initialize'
ibm_cloud_sdk_core/base_service.rb:113:in new' ibm_cloud_sdk_core/base_service.rb:113:in
request'
Service Status
OK
Describe the bug
When trying to access to Watson API, we have an error unmanaged by the gem
To Reproduce
Use Ngrok, lauch a console and call the message function
Expected behavior
We expect to parse correctly the message
Actual behavior
JSON::ParserError: 784: unexpected token at '
Screenshots
Desktop (please complete the following information):
- OS: Linux Ubuntu 20.04.5 LTS
- Ruby Version : 2.6.6
Additional context