Question
2
Replies
95
Views
Posted: July 21, 2020
Last activity: July 22, 2020
Digital Experience API: data pages error
Good morning,
We have just designed a new data page that we want to expose to the digital experience API.
When requesting it from the REST api we get the 404 page not found error:
{
"pxObjClass":"Pega-API-Data"
,"errors":[
{
"ID":"Pega_API_017"
,"message":"Data page not found for the given parameter ID"
,"pxObjClass":"Pega-API-Error"
}
]
}
The data page is visible and running (with no errors) on dev studio.
The 'GET' request is correct (we are not inserting any queryParams).
Are we missing some particular setting in order to see the data page through the rest API?
Thanks in advance,
Nicolò
Hi, Please validate your request params
General note :
when run from swagger (Pega API) page, system prompt to enter user name and pass. enter pega user name and pass.
Pega user should have pegaAPI role in access group
When you run from post man - select basic auth. enter pega user name and pass
Sample run from Pega Swagger
Sample Run from postman
Sample run from postman with additional parameters
Datapage