HTTP-Status 401: Unauthorized - User could not be authorized

Proper forum for all questions related to xServer INTERNET = the Azure based cloud solution. This forum deals with the architecture topics such as load balancing, available profiles and standard server settings.
Please be aware that questions about core functionality such as routing, mapping, geocoding in general should be placed in the xServers dedicated forum ;-)

HTTP-Status 401: Unauthorized - User could not be authorized

Postby Bernd Welter » Tue Apr 09, 2019 3:23 pm

Hi there,

quite often cloud users face the error message "HTTP-Status 401: Unauthorized - User could not be authorized."

There are several potential reasons and countermeasures for this behaviour:
  • You didn't try to authenticate. Congratulations: our cloud services require username and password. Without them you will not gain access.
    Countermeasure: send a token. If you don't have one: register for a trial and you get one ;-)
  • You tried to authenticate. So you sent username and password but still don't get access?
    • Maybe the token you use has expired? For example you used the token successful few weeks after registering as test user and now it doesn't work anymore?
      Countermeasure: get in touch with your sales representative to prolong it.
    • The token did work on service alpha but does not work on service beta. E.g. it works for TEST and INTEGRATION but not for PRODUCTION? A valid token grants access to some or even all cloud services. Maybe your token has never been activated for the service you couldn't connect to?
      Countermeasure: get in touch with sales.
Best regards,
Bernd
Bernd Welter
Senior Technical Consultant Developer Components
PTV GROUP - Germany

Bernd at Youtube
User avatar
Bernd Welter
Site Admin
 
Posts: 1335
Joined: Mon Apr 14, 2014 10:28 am

Re: HTTP-Status 401: Unauthorized - User could not be author

Postby Oliver Heilig » Wed Apr 10, 2019 10:40 am

Hi,

you can check if your token has access to a service here:

https://xserverinternet.azurewebsites.n ... index.html

These rights also apply to API version 2 services.

http://xserver.ptvgroup.com/it/cookbook ... formation/

Oli
Oliver Heilig
Chief Developer Logistic Services
PTV GROUP - Germany

https://github.com/oliverheilig/
User avatar
Oliver Heilig
 
Posts: 122
Joined: Tue May 13, 2014 12:10 pm
Location: Karlsruhe, Germany


Return to PTV xServer INTERNET (Admin=OH,SM)

cron