Skip to content

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
    • Help
    • Support
    • Submit feedback
    • Contribute to GitLab
  • Sign in
N
nesstar-rest-api
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 1
    • Issues 1
    • List
    • Boards
    • Labels
    • Milestones
  • Merge Requests 0
    • Merge Requests 0
  • Analytics
    • Analytics
    • Repository
    • Value Stream
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
  • Nesstar
  • nesstar-rest-api
  • Wiki
  • errors

errors

Last edited by Kjetil Thuen Jun 05, 2013
Page history

Errors

Permission denied

When a restricted action is requestted without sufficient priveleges, the servlet will reply with:

{
error : 
 {
    type : "PERMISSION_DENIED",
    message : "You are not authorized to perform this operation"  
 }
}

The HTTP status will be set to 401

Missing resource

This error is returned when an ID is given but the resource (study, variable etc) isn’t found.

{
 error : {
    type: MISSING_RESOURCE,
    message : "text"
 }
}

This response will have the HTTP status set to 404.

Bad request

If the server side cannot interpret the request properly, this error is returned. This covers for instance requests that miss mandatory input variables such as at least one break variable in tabulation or no dependent variable in regresison.

{
 error : {
    type: "BAD_REQUEST",
    message : "text"
 }
}

This response will have the HTTP status set to 400.

Unexpected error

If something unexpected happens on the server (something that is not covered by the other errors here) this error is returned.

{
 error : {
    type: "UNEXPECTED ERROR",
    message : "text"
 }
}

This response will have the HTTP status set to 500.

Clone repository
  • Login
  • Logout
  • do correlation
  • do regression
  • download
  • errors
  • get complete study metadata
  • get cube
  • get ddi metadata translation
  • get study list
  • get study metadata
  • get study variablegroups
  • get study variables
  • get variable metadata
  • get variablegroup variablegroups
View All Pages