A number of error messages, ranging from Authorization Bearer, URL using bad/illegal format or missing URL...:
1.
Multi line continuation symbol ^ or \ with curl:
The line
continuation character ^ or \ may cause problems, use LONG string of
"curl xxxxxxxxxxxxxxxxxxxxxxxxx"
2. IAM_TOKEN
Keep this as a
shell variable in Linux to avoid the Quote within quote issue, and save the
generated token inside
(the quote " before text string
does NOT matter, so no need to use the quote and end-quote to store the token
value
If you use the wrong API key, your authoirzation will be rejected:
"message":"Authorization request has been rejected with message: User (ServiceId) is not authorized to access this endpoint"
(the API key from dataset bucket is
in COS and will NOT work for cloud
even it can generate Access Token)