Notification V2 - 401 Unauthorized

What product/components do you use and which version/fix level are you on?

Cumulocity IoT

Is your question related to the free trial, or to a production (customer) instance?

Fee trial

What are you trying to achieve? Please describe it in detail.

notification v2 via rest API

Do you get any error messages? Please provide a full error message screenshot and log file.

yes

Have you installed all the latest fixes for the products and systems you are using?

yes

Hi all,

I am trying with notification v2 via REST API and here is the response received from the server.

HTTP/1.1 401 Unauthorized
Date: Tue, 20 Sep 2022 14:46:07 GMT
Content-Type: application/vnd.com.nsn.cumulocity.error+json;charset=UTF-8 ;ver=0.9
Content-Length: 205
Connection: keep-alive
WWW-Authenticate: Basic realm="Name of Your Realm"
X-Content-Type-Options: nosniff
Strict-Transport-Security: max-age=31536000; includeSubDomains

{"error":"security/Unauthorized","message":"Failed to decode basic authentication token","info":"https://www.cumulocity.com/guides/reference/rest-implementation//#a-name-error-reporting-a-error-reporting"}

I have checked the decoded base64 code and it is correct. In this case, what else could be possible wrong?

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.