Re: Getting NPPS012 Bad Request error with MLE encryption

Solved! Go to solution
APN_Engineering
Regular Visitor

Getting NPPS012 Bad Request error with MLE encryption

Hi,

We are getting a NPPS012 error in the response when working with MLE. Below are the details of the test.

 

Environment: Certification environment

API  : v1/manage/getalias

Request Header: 

--header 'keyId: 526d9f99-fcf7-4350-bbf6-f813bf4670f3' \
--header 'Authorization: Basic Vk9aUTcwREg5TVY0RDNYWEVWWk4yMXdiTVRIY3N1dTlsY1dpOW5XWXo1SGt3amVsODo3eGRMazZBaURGWmNnMQ==' \
--header 'Content-Type: application/json' \
Request Body(unencrypted):
{"guid":"11122222"}
Response Header:
[
{
"key":"Server",
"value":"nginx",
"description":"Contains information about how the server handles requests.",
"enabled":true,
"disableEdit":true,
"info":"Contains information about how the server handles requests."
},
{
"key":"Date",
"value":"Fri, 08 Apr 2022 19:19:40 GMT",
"description":"A general header containing the date and time the message was sent.",
"enabled":true,
"disableEdit":true,
"info":"A general header containing the date and time the message was sent."
},
{
"key":"Content-Type",
"value":"application/json;charset=UTF-8",
"description":"Indicates the resource's media type.",
"enabled":true,
"disableEdit":true,
"info":"Indicates the resource's media type."
},
{
"key":"Content-Length",
"value":"65",
"description":"An entity header indicating the size of the entity-body, in bytes.",
"enabled":true,
"disableEdit":true,
"info":"An entity header indicating the size of the entity-body, in bytes."
},
{
"key":"Connection",
"value":"keep-alive",
"description":"A general header specifying whether the current network connection will stay open once the current transaction finishes.",
"enabled":true,
"disableEdit":true,
"info":"A general header specifying whether the current network connection will stay open once the current transaction finishes."
},
{
"key":"X-SERVED-BY",
"value":"l73p039",
"description":"Custom header",
"enabled":true,
"disableEdit":true,
"info":"Custom header"
},
{
"key":"X-CORRELATION-ID",
"value":"1649445580_207_868837196_l73p039_VDP_WS",
"description":"Custom header",
"enabled":true,
"disableEdit":true,
"info":"Custom header"
},
{
"key":"X-APP-STATUS",
"value":"400",
"description":"Custom header",
"enabled":true,
"disableEdit":true,
"info":"Custom header"
},
{
"key":"X-ERROR-ORIGIN",
"value":"9300",
"description":"Custom header",
"enabled":true,
"disableEdit":true,
"info":"Custom header"
},
{
"key":"X-Cnection",
"value":"close",
"description":"Custom header",
"enabled":true,
"disableEdit":true,
"info":"Custom header"
},
{
"key":"X-Cnection",
"value":"close",
"description":"Custom header",
"enabled":true,
"disableEdit":true,
"info":"Custom header"
},
{
"key":"Cache-Control",
"value":"no-cache, no-store, must-revalidate",
"description":"A general header specifying rules for caching in both requests and responses. Rules for length of cache are measured in seconds.",
"enabled":true,
"disableEdit":true,
"info":"A general header specifying rules for caching in both requests and responses. Rules for length of cache are measured in seconds."
},
{
"key":"X-Frame-Options",
"value":"SAMEORIGIN",
"description":"Used to avoid clickjacking attacks by making sure their content is not embedded into other sites.",
"enabled":true,
"disableEdit":true,
"info":"Used to avoid clickjacking attacks by making sure their content is not embedded into other sites."
},
{
"key":"Pragma",
"value":"no-cache",
"description":"A general header that is implementation specific and may have various effects along the request-response chain.",
"enabled":true,
"disableEdit":true,
"info":"A general header that is implementation specific and may have various effects along the request-response chain."
}
]
 
Response Body:
{
    "status""BAD_REQUEST",
    "code""NPPS012",
    "message""Bad request"
}
 
4 REPLIES 4
jenn_kh
Community Moderator

Re: Getting NPPS012 Bad Request error with MLE encryption

Thank you for reaching out, @APN_Engineering! An agent is looking for a solution for you and will get back to you shortly! If any community members know a solution, please feel free to respond here. - Jenn

APN_Engineering
Regular Visitor

Re: Getting NPPS012 Bad Request error with MLE encryption

Hi Jenn, Could you please let us know if there has been any update on this.

APN_Engineering
Regular Visitor

Re: Getting NPPS012 Bad Request error with MLE encryption

Hi Jenn,

 

We double checked from our end on the certificate and we are now able to test it fine. No further help required on this one.

 

Thank you

jenn_kh
Community Moderator

Re: Getting NPPS012 Bad Request error with MLE encryption

Thank you for letting us know. We're glad to hear the issue is resolved. Please don't hesitate to reach out if you need any further assistance! -Jenn