SAP Knowledge Base Article - Public

3022259 - Message 'The URL you entered is not configured as a trusted site' when attaching document in an App or using API_CV_ATTACHMENT_SRV


  • It is not possible to add URL's to an object such as  Invoice , Supplier , Material  as an attachment with the API API_CV_ATTACHMENT_SRV , Entity CreateUrlAsAttachment 
  • We get an error "URL is not valid" when adding a link to the attachment 
  • Not possible to add attachment in an app due to popup message 'The URL you entered is not configured as a trusted site'


  • SAP S/4HANA, Cloud
  • Document Management ( DMS )


A new feature of  trusted URL check has been introduced in CE2102

It will not be able to exchange or add URLs from domains that were previously able to upload, until you maintain them in the trusted zones in Maintain Protection Allowlists


  1. Access the Launchpad 
  2. Navigate to Maintain Protection Allowlists app.
  3. Click on tab "Trusted Network Zones"
  4. Click add button
  5. Under Trusted Host Name  , add domain , for example *sap*
  6. In the Drowndown for Schema , select  an entry , for example HTTPS
  7. In the field PORT , enter the PORT number involved , for example 443
  8. Press Add

See Also


&MIMEType , SemanticObject ,BusinessObjectTypeName,link , KBA , PLM-FIO-DMS , Fiori UI for Document management , CRM-S4-SRV-SVO , S4CRM: Service Order , BC-SRV-APS-COM , Maintain Communication System and Arrangement , Problem


SAP S/4HANA Cloud 2102