IBM / ibm-cos-sdk-js

ibm-cos-sdk-js
Apache License 2.0
38 stars 20 forks source link

Misleading error for network related issues #78

Closed prince737 closed 3 years ago

prince737 commented 3 years ago

The error message from the SDK reads Missing credentials in config when there is any network related issue.

image

nglange commented 3 years ago

Thanks for raising this issue. I agree that this error is misleading - and the higher order message isn't much more helpful (Could not load credentials from Credentials). I think this is really more of an 400 Bad request - Unable to fetch token from token provider sort of error. Would that make more sense to you?

prince737 commented 3 years ago

Yes, that sounds good.

IBMeric commented 3 years ago

We are tracking this issue internally for a future release. Since it is low impact, I am closing the ticket for now.