cancel
Showing results for 
Search instead for 
Did you mean: 

Getting internal server error while hitting deploy API endpoint

SAKSHI
New Contributor II

Hi, 

I am getting internal server error while hitting below POST query through swagger/ postman https://alliances.goskope.com/api/v2/policy/urllist/deploy

I have provided all the required permission while creating token to make the request, not sure why I am getting this error.

SAKSHI_0-1666871281357.png

https://alliances.goskope.com/apidocs/?include_beta_routes=0#/policy/post_api_v2_policy_urllist_depl...

 

Am I missing anything ? Please help me out with this issue.

 

Thanks,

Sakshi

19 REPLIES 19
rkessler
Netskope
Netskope

Hi Sakshi

Welcome to the community!

I see you are using the endpoint for "POST URL List Deploy (Apply Changes)". Which steps have you performed beforehand, e.g. any URL list modifications? Did those succeed?

Did you confirm the token is being sent in the header?

rkessler_0-1666875298540.png

 

cheers

Rudi

SAKSHI
New Contributor II
Hi Rudi,
 
I am using PATCH https://alliances.goskope.com/api/v2/policy/urllist/441/append to append url to a specific list and it is getting reflected when I hit GET request to https://alliances.goskope.com/api/v2/policy/urllist/441/
 
But to reflect these changes in Netskope dashboard I need to run deploy endpoint which is giving me error.
 
And yes I am passing valid token with all required permission in header.
 
SAKSHI_0-1666875866910.pngSAKSHI_1-1666875917357.png

 

Regards,

Sakshi

rkessler
Netskope
Netskope

Sakshi,

I cannot replicate the 500. And yes, it looks like your token is correct (or it would throw a different error).

You could review the unapplied URL list in the tenant UI (how it looks there) and try to apply from there, as a basic test. 

SAKSHI
New Contributor II

Hi,

I am able to apply changes through dashboard , and it is getting reflected in list also.

But still getting internal server 500 error through API. Any idea what could be the reason , as I am able to hit other endpoints successfully.

SAKSHI_0-1666930057823.png

SAKSHI_1-1666930089550.png

 

SAKSHI
New Contributor II

Hi,

Do we need to make any change in permission in Netskope UI for deploy endpoint https://alliances.goskope.com/api/v2/policy/urllist/deploy to work.

 

Can you please help me out with this issue.

 

Sakshi

Sakshi,

you only need to ensure that the respective endpoint is enabled:

rkessler_0-1667204721883.png

(under Settings > Tools > REST API v2)

Existing tokens will be updated, they don't change. Same goes for expiration date, btw.

Hope this helps! 

cheers

Rudi

 

SAKSHI
New Contributor II

Hi Rudi,

 

I have already provided the required permission, still it is giving us same internal sever error 500. What can we do now?

SAKSHI_0-1667205842919.png

 

Sakshi

Sakshi

to me, it looks configured correctly. I suggest you open a Support case, mentioning what you've tested so far. (You might want to refer to this thread as well, so that the Support engineer does not have to start from scratch).

Thank you for your cooperation! 

cheers 

Rudi

Hello @SAKSHI , @rkessler ,

 

Did you check the curl call command displayed from the swagger in Tools > REST v2 > API DOCUMENTATION > urllist/deploy > TEST IT ?

 

I used the deploy endpoint with no issues from swagger.

 

Kind regards,

Òscar

SAKSHI
New Contributor II

SAKSHI_0-1667209976338.png

 

Not working from here as well

@oscar excellent idea.

@SAKSHI please change your token immediately, as it's visible in your screenshot.

SAKSHI
New Contributor II

@rkessler @oscar That was an expired token , have created new one now.

I'll open Support case for this issue , thanks!

SAKSHI
New Contributor II

@rkessler @oscar Hi, I am unable to log in Support portal using my credentials , Can you please help me.

Sakshi

the support portal has been migrated to a new system recently. If you haven't opened a ticket in the past 4 weeks or so, it is necessary to reset your PW. Please use the "forgot my pw" option. Thank you for your cooperation! 

SAKSHI
New Contributor II

Already did that but not receiving any mail on registered email Id.

JulieB
Community Manager
Community Manager

@SAKSHI  I would send an email to support@netskope.com to resolve your issue.  

Julie Brancik
Senior Manager, Online Communities at Netskope
SAKSHI
New Contributor II

Thanks @JulieB , We are stuck with this error for quite some time , so would really appreciate if someone can help us to resolve this issue.

marmurray
New Contributor II

I'm also unable to access the new portal - no email coming to Deloitte account email. 

JulieB
Community Manager
Community Manager

@marmurray

 

You can always reach out to our support team via email at support@netskope.com. To best handle your request, please provide the following information:

  • Nature of the request (please provide as much detail as possible and screenshots if you have them)
  • Level of urgency
  • Number of users affected
  • Contact details for getting in touch with you or an appropriate member of your team to address the issue
Julie Brancik
Senior Manager, Online Communities at Netskope