SAP Knowledge Base Article - Preview

3570708 - [FSM Connector] Common Errors: Understanding and Resolving 401 and 403 Status Codes

Symptom

FSM Connector Errors

The FSM Admin interface may throw status error codes 401 or 403. Below are some examples of possible errors:

  • Getting authorization token failed. url: https://xxxx.xxxx.xxxx.xxxx.xxxx.xxxx/oauth/token, cause: 401 Unauthorized: [no body]. 
  • org.springframework.web.client.HttpClientErrorException$Unauthorized: 401 Unauthorized: [no body]
  • org.springframework.web.client.HttpClientErrorException$Forbidden: 403 Forbidden: "<!doctype html><html lang="en"><head><title>HTTP Status 403 – Forbidden</title><style type="text/css">body {font-family:Tahoma,Arial,sans-serif;} h1, h2, h3, b {color:white;background-color:#525D76;} h1 {font-size:22px;} h2 {font-size:16px;} h3 {font-size:14px;} p {font-size:12px;} a {color:black;} .line {height:1px;background-color:#525D76;border:none;}</style></head><body><h1>HTTP Status 403 – Forbidden</h1></body></html>"

"Image/data in this KBA is from SAP internal systems, sample data, or demo systems. Any resemblance to real data is purely coincidental."


Read more...

Environment

  • SAP Field Service Management (FSM)
  • SAP Business Technology Platform (BTP)
  • SAP Cloud Platform Integration (CPI)
  • SAP S/4 HANA Cloud Public Edition (S/4)
  • SAP S/4HANA (S/4)
  • SAP Cloud for Customer (C4C)
  • SAP Customer Relationship Management (CRM)

Product

SAP Field Service Management 1.0

Keywords

SAP Field Service Management, FSM, BTP, Business Technology Platform, CPI, Cloud Platform Integration, status code, response, error, fsm-connector, 403, 401 , KBA , CRM-S4-INT-FSM , S4CRM: Service Integration with Field Service Mgmt , CRM-S4-INT-FSM-2CL , S4CRM: Service Integration with Field Service Mgmt (PubC) , CEC-SRV-FSM-C4C , FSM C4C Integration , CEC-SRV-FSM-S4H , Integration of S/4HANA to FSM , CEC-SRV-FSM-ADM , FSM System Administration , Known Error

About this page

This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP for Me (Login required).

Search for additional results

Visit SAP Support Portal's SAP Notes and KBA Search.