Question

REST API V2 - create new private app issue

  • 13 March 2024
  • 2 replies
  • 72 views

Hi guys I need your help, I’ve created an REST API V2 token and added the relevant endpoints as described in this doc: https://docs.netskope.com/en/netskope-help/data-security/netskope-private-access/private-access-rest-apis/

after trying every combination to create a new publisher app with the Swagger UI, I get this response:

{
"message": "User Portal App cannot be created.",
"status": "error"
}

what am I doing wrong? 😤


2 replies

Userlevel 6
Badge +16

Hello @nesi10062,

 

There is a value in the final section which is 

"is_user_portal_app": true

When this is set to true I get the same error.  Please set it to false and try again.  If it’s not showing up for you it goes in the final portion of the JSON with other app settings:

 

  ],
"use_publisher_dns": true,
"clientless_access": false,
"allow_unauthenticated_cors": false,
"is_user_portal_app": false,
"trust_self_signed_certs": true
}'

 

Userlevel 4
Badge +17

Hi @nesi10062 

Hope you are doing well. I hope the answer shared by @sshiflett  helps you. Feel free to mark a answer as a “Best Answer”

 

 

Reply