# What Postman collection to import to test MOSIP authentication ? Where to get the collection?

**URL:** <https://community.mosip.io/t/what-postman-collection-to-import-to-test-mosip-authentication-where-to-get-the-collection/533>\
**Category:** General\
**Created:** [June 20, 2023, 8:08am UTC](https://community.mosip.io/t/what-postman-collection-to-import-to-test-mosip-authentication-where-to-get-the-collection/533 "2023-06-20T08:08:13Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![rcsampang](https://avatars.discourse-cdn.com/v4/letter/r/ecccb3/32.png) [@rcsampang](https://community.mosip.io/u/rcsampang)\
**Post date:** [June 20, 2023, 8:08am UTC](https://community.mosip.io/t/what-postman-collection-to-import-to-test-mosip-authentication-where-to-get-the-collection/533/1 "2023-06-20T08:08:13Z")

</div>

Hello. In step 2 to test MOSIP authentication, it says _2. Install Postman and import the collection attached in the prerequisites._

Please point me to documentation that explains what Postman collection to import to test MOSIP authentication ? Where to get the collection?

Thank you.

---

<div class="post-metadata">

**Author:** ![rcsampang](https://avatars.discourse-cdn.com/v4/letter/r/ecccb3/32.png) [@rcsampang](https://community.mosip.io/u/rcsampang)\
**Post date:** [June 22, 2023, 7:52am UTC](https://community.mosip.io/t/what-postman-collection-to-import-to-test-mosip-authentication-where-to-get-the-collection/533/2 "2023-06-22T07:52:32Z")

</div>

My bad, I wasn’t reading carefully.

So I downloaded the collection - Automation\_M.postman\_collection.json and imported it as instructed.

Then I run the collection.

 ![image](https://europe1.discourse-cdn.com/flex017/uploads/mosip1/original/1X/20a1addc3977c55ac61fdb616a81aff1d6e554fb.png)

How / Where do I find the **IDA-DomainName folder inside the temp**?

---

<div class="post-metadata">

**Author:** ![nayakrounak](https://dub1.discourse-cdn.com/flex017/user_avatar/community.mosip.io/nayakrounak/32/12_2.png) [@nayakrounak](https://community.mosip.io/u/nayakrounak)\
**Post date:** [June 23, 2023, 8:58am UTC](https://community.mosip.io/t/what-postman-collection-to-import-to-test-mosip-authentication-where-to-get-the-collection/533/3 "2023-06-23T08:58:20Z")

</div>

Hi @rcsampang , the domain name is actually exported from the environment file in the Postman collection.

Can you point me out from where you downloaded the above collection, so that, we can make sure it is available in the same place?

– edit

I found the document in Confluence. I have asked @kavya to help you out!

---

<div class="post-metadata">

**Author:** ![kavya](https://avatars.discourse-cdn.com/v4/letter/k/e480ec/32.png) [@kavya](https://community.mosip.io/u/kavya)\
**Post date:** [June 23, 2023, 10:08am UTC](https://community.mosip.io/t/what-postman-collection-to-import-to-test-mosip-authentication-where-to-get-the-collection/533/4 "2023-06-23T10:08:59Z")

</div>

Hi @rcsampang ,  
The Domain Name you can find Here .

1)After successfully running the Postman collection you can find the domain folder here  
Window R then Type %temp% and search for IDA  
As per the document in our case folder will be created with this name:  
[IDA-minibox2.mosip.net](http://IDA-minibox2.mosip.net)

 ![Domain_Name](https://europe1.discourse-cdn.com/flex017/uploads/mosip1/original/1X/e52cad3b913d69dbde8c9aef6c295c3c0c6f14ca.png)

---

<div class="post-metadata">

**Author:** ![kavya](https://avatars.discourse-cdn.com/v4/letter/k/e480ec/32.png) [@kavya](https://community.mosip.io/u/kavya)\
**Post date:** [June 23, 2023, 10:11am UTC](https://community.mosip.io/t/what-postman-collection-to-import-to-test-mosip-authentication-where-to-get-the-collection/533/5 "2023-06-23T10:11:50Z")

</div>

Yes Inside the Temp and search for your domain

---

<div class="post-metadata">

**Author:** ![rcsampang](https://avatars.discourse-cdn.com/v4/letter/r/ecccb3/32.png) [@rcsampang](https://community.mosip.io/u/rcsampang)\
**Post date:** [June 23, 2023, 11:55am UTC](https://community.mosip.io/t/what-postman-collection-to-import-to-test-mosip-authentication-where-to-get-the-collection/533/6 "2023-06-23T11:55:42Z")

</div>

Hello @nayakrounak !

Thank you.

Yes I downloaded it from this Confluence post [https://mosip.atlassian.net/wiki/spaces/MSD/pages/892796967/Steps+to+test+MOSIP+authentication](https://mosip.atlassian.net/wiki/spaces/MSD/pages/892796967/Steps+to+test+MOSIP+authentication)

@kavya Hello! Thank you. I will try it again and let you know.

---

<div class="post-metadata">

**Author:** ![rcsampang](https://avatars.discourse-cdn.com/v4/letter/r/ecccb3/32.png) [@rcsampang](https://community.mosip.io/u/rcsampang)\
**Post date:** [June 23, 2023, 12:43pm UTC](https://community.mosip.io/t/what-postman-collection-to-import-to-test-mosip-authentication-where-to-get-the-collection/533/7 "2023-06-23T12:43:35Z")

</div>

@kavya I hope it is not too much to ask. Do you happen to have a step by step tutorial on how to do this?

I am not getting the desired result, I believe I may be doing things the wrong way.

---

<div class="post-metadata">

**Author:** ![rcsampang](https://avatars.discourse-cdn.com/v4/letter/r/ecccb3/32.png) [@rcsampang](https://community.mosip.io/u/rcsampang)\
**Post date:** [June 26, 2023, 3:46am UTC](https://community.mosip.io/t/what-postman-collection-to-import-to-test-mosip-authentication-where-to-get-the-collection/533/8 "2023-06-26T03:46:57Z")

</div>

I am having this error when running the collection -

POST http://{{url}}/v1/authmanager/authenticate/clientidsecretkey  
Error: getaddrinfo ENOTFOUND {{url}}  
Request Headers  
Content-Type: application/json  
User-Agent: PostmanRuntime/7.32.3  
Accept: _/_  
Postman-Token: 88c14d17-da8f-4653-9b11-439979ca083e  
Host: {{url}}  
Accept-Encoding: gzip, deflate, br  
Connection: keep-alive  
Request Body  
POST [http://127.0.0.1:4501/admin/role](http://127.0.0.1:4501/admin/role)  
Error: connect ECONNREFUSED 127.0.0.1:4501  
Request Headers  
User-Agent: PostmanRuntime/7.32.3  
Accept: _/_  
Postman-Token: 0c85969f-9d14-45b9-ae56-7dcbcca45f6c  
Host: 127.0.0.1:4501  
Accept-Encoding: gzip, deflate, br  
Connection: keep-alive  
POST [http://127.0.0.1:4501/admin/role](http://127.0.0.1:4501/admin/role)  
Error: connect ECONNREFUSED 127.0.0.1:4501  
Request Headers  
User-Agent: PostmanRuntime/7.32.3  
Accept: _/_  
Postman-Token: 52afcd80-9802-493e-95c2-6848f9fdd49a  
Host: 127.0.0.1:4501  
Accept-Encoding: gzip, deflate, br  
Connection: keep-alive

---

<div class="post-metadata">

**Author:** ![nayakrounak](https://dub1.discourse-cdn.com/flex017/user_avatar/community.mosip.io/nayakrounak/32/12_2.png) [@nayakrounak](https://community.mosip.io/u/nayakrounak)\
**Post date:** [June 26, 2023, 6:35am UTC](https://community.mosip.io/t/what-postman-collection-to-import-to-test-mosip-authentication-where-to-get-the-collection/533/9 "2023-06-26T06:35:15Z")

</div>

Hi @rcsampang,

You need to set the {{url}} variable in your environment configuration as your domain name.

 ![image](https://europe1.discourse-cdn.com/flex017/uploads/mosip1/original/1X/c5e4532f9f8494eef1d1bee54bbbea0c5dbd04dd.png)

You can go through the postman tutorial to set the postman variables here: [Using variables | Postman Learning Center](https://learning.postman.com/docs/sending-requests/variables/)

Or

You can hardcode the {{url}} variable in the request URL with the base URL value of your environment.

Thanks,  
Rounak

---

<div class="post-metadata">

**Author:** ![rcsampang](https://avatars.discourse-cdn.com/v4/letter/r/ecccb3/32.png) [@rcsampang](https://community.mosip.io/u/rcsampang)\
**Post date:** [August 15, 2023, 7:23am UTC](https://community.mosip.io/t/what-postman-collection-to-import-to-test-mosip-authentication-where-to-get-the-collection/533/10 "2023-08-15T07:23:37Z")

</div>

Hi @Hi @nayakrounak,

I set up the url variable for with our environment configuration but I encountered an error.

POST [http://api-internal.mymosip.edu.ph/v1/authmanager/authenticate/clientidsecretkey](http://api-internal.mymosip.edu.ph/v1/authmanager/authenticate/clientidsecretkey)

Error: connect ECONNREFUSED 10.x.x.170:80

▶Request Headers

User-Agent: PostmanRuntime/7.32.3

Accept: _/_

Cache-Control: no-cache

Postman-Token: b4fbf861-9de3-46c9-90d4-d7d36067e16a

Host: api-internal.mymosip.edu.ph

Accept-Encoding: gzip, deflate, br

Connection: keep-alive

▶POST http://{{url}}/v1/authmanager/authenticate/clientidsecretkey

---

<div class="post-metadata">

**Author:** ![sanchi-singh24](https://dub1.discourse-cdn.com/flex017/user_avatar/community.mosip.io/sanchi-singh24/32/538_2.png) [@sanchi-singh24](https://community.mosip.io/u/sanchi-singh24)\
**Post date:** [August 16, 2023, 10:54am UTC](https://community.mosip.io/t/what-postman-collection-to-import-to-test-mosip-authentication-where-to-get-the-collection/533/11 "2023-08-16T10:54:10Z")

</div>

Hi @rcsampang

I will ask one of my team member to look into the error that you have encountered.

Best Regards,  
Team MOSIP

---

<div class="post-metadata">

**Author:** ![nayakrounak](https://dub1.discourse-cdn.com/flex017/user_avatar/community.mosip.io/nayakrounak/32/12_2.png) [@nayakrounak](https://community.mosip.io/u/nayakrounak)\
**Post date:** [October 17, 2023, 8:45am UTC](https://community.mosip.io/t/what-postman-collection-to-import-to-test-mosip-authentication-where-to-get-the-collection/533/12 "2023-10-17T08:45:48Z")

</div>

Hi @rcsampang ,

Shouldn’t the URL start with https? Can you please check this?

---

<div class="post-metadata">

**Author:** ![rcsampang](https://avatars.discourse-cdn.com/v4/letter/r/ecccb3/32.png) [@rcsampang](https://community.mosip.io/u/rcsampang)\
**Post date:** [October 18, 2023, 4:18am UTC](https://community.mosip.io/t/what-postman-collection-to-import-to-test-mosip-authentication-where-to-get-the-collection/533/13 "2023-10-18T04:18:40Z")

</div>

Hello @nayakrounak

Thank very much. I made the changes to the URL from http to https and added the URL and protocol to Postman Variables.

Looks like it is working, I found the necessary files in Windows temp directory.

However, there is another issue - in doing this step

c.1. Upload the partner certificate by using the Swagger link `{{url}}/v1/partnermanager/partners/certificate/upload`

replaced {{url}} with [https://api-internal.mymosip.edu.ph/v1/partnermanager/partners/certificate/upload](https://api-internal.mymosip.edu.ph/v1/partnermanager/partners/certificate/upload)

but no response, so I modified it to - [https://api-internal.mymosip.edu.ph/v1/authmanager/swagger-ui/index.html?configUrl=/v1/partnermanager/v3/api-docs/swagger-config#/partner-service-controller/uploadPartnerCertificate](https://api-internal.mymosip.edu.ph/v1/authmanager/swagger-ui/index.html?configUrl=/v1/partnermanager/v3/api-docs/swagger-config#/partner-service-controller/uploadPartnerCertificate)

What are the values that I should put in this form -

{  
“id”: “string”,  
“version”: “string”,  
“requesttime”: “2023-10-18T06:15:04.380Z”,  
“metadata”: {},  
“request”: {  
“partnerId”: “string”,  
“certificateData”: “string”,  
“partnerDomain”: “string”  
}  
}

 ![image](https://europe1.discourse-cdn.com/flex017/uploads/mosip1/original/1X/45dcac81ce98f7db8279056fbe055c906073214f.png)

Where could I find the info needed for this?

---

<div class="post-metadata">

**Author:** ![nayakrounak](https://dub1.discourse-cdn.com/flex017/user_avatar/community.mosip.io/nayakrounak/32/12_2.png) [@nayakrounak](https://community.mosip.io/u/nayakrounak)\
**Post date:** [October 19, 2023, 2:40am UTC](https://community.mosip.io/t/what-postman-collection-to-import-to-test-mosip-authentication-where-to-get-the-collection/533/14 "2023-10-19T02:40:11Z")

</div>

ok @rcsampang

I went through the document that you were following.  
The values are as follows:

- **partnerId** is the number with which the certificate was created. In the example shown, it is 647.
- **certificateDomain** is Auth
- **certificateData** is the stringified `rp-partner.cer` file that you would have created in the above steps.

I hope this helps.

Rounak

---

<div class="post-metadata">

**Author:** ![rcsampang](https://avatars.discourse-cdn.com/v4/letter/r/ecccb3/32.png) [@rcsampang](https://community.mosip.io/u/rcsampang)\
**Post date:** [October 19, 2023, 3:21am UTC](https://community.mosip.io/t/what-postman-collection-to-import-to-test-mosip-authentication-where-to-get-the-collection/533/15 "2023-10-19T03:21:48Z")

</div>

Thank you @nayakrounak !

Follow up question - **" the stringified `rp-partner.cer`"** is this the certificate data provided in the example in the document ?

 ![image](https://europe1.discourse-cdn.com/flex017/uploads/mosip1/original/1X/34365b6503631331326daaeb4584bf53bb09c123.png)

If it is, I just have to copy it in the form of the Swagger URL and upload it ?

{  
“id”: “string”,  
“version”: “string”,  
“requesttime”: “2023-10-18T06:15:04.380Z”,  
“metadata”: {},  
“request”: {  
“partnerId”: “647”,  
“certificateData”: “-----BEGIN CERTIFICATE-----\nMIIDgzCCAmugAwIBAgIIqJQc1UUfL0UwDQYJKoZIhvcNAQELBQAwdjELMAkGA1UE\nBhMCSU4xCzAJBgNVBAgMAktBMRIwEAYDVQQHDAlCQU5HQUxPUkUxDTALBgNVBAoM\nBEl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TcS75X0b8Ta6XXFZL2C8pG6mZLGUpGEUOeUL6oyWDPFn9\n-----END CERTIFICATE-----\n”,  
“partnerDomain”: “Auth”  
}  
}

There is no rp-partner.cer in the files created using Postman

![image](https://europe1.discourse-cdn.com/flex017/uploads/mosip1/original/1X/7919c87542fef5f36985efbfd0c57cc1800957a0.png)

---

<div class="post-metadata">

**Author:** ![nayakrounak](https://dub1.discourse-cdn.com/flex017/user_avatar/community.mosip.io/nayakrounak/32/12_2.png) [@nayakrounak](https://community.mosip.io/u/nayakrounak)\
**Post date:** [October 19, 2023, 9:12am UTC](https://community.mosip.io/t/what-postman-collection-to-import-to-test-mosip-authentication-where-to-get-the-collection/533/16 "2023-10-19T09:12:25Z")

</div>

Yes @rcsampang , that should work!

---

<div class="post-metadata">

**Author:** ![rcsampang](https://avatars.discourse-cdn.com/v4/letter/r/ecccb3/32.png) [@rcsampang](https://community.mosip.io/u/rcsampang)\
**Post date:** [October 20, 2023, 5:42am UTC](https://community.mosip.io/t/what-postman-collection-to-import-to-test-mosip-authentication-where-to-get-the-collection/533/17 "2023-10-20T05:42:41Z")

</div>

@nayakrounak Thank you.

The step I tried above did not work, it resulted to 403 error.

After looking/reading at the JSON Automation Collection file, I realized that this collection was created using an earlier version of MOSIP and/or swagger based on the API endpoints used.

I will now stop doing/trying this tutorial since it would not work with our MOSIP platform that uses/expects different API endpoints when using Swagger.

Hopefully in the near future, someone will export a Postman Collection that works with MOSIP v1.2.0.1-B2, which I could use in testing MOSIP authentication.

I deeply appreciates all the help given.

Unfortunately due to incompatibilities I don’t think I would be able to successfully follow/do this tutorial. [https://mosip.atlassian.net/wiki/spaces/MSD/pages/892796967/Steps+to+test+MOSIP+authentication](https://mosip.atlassian.net/wiki/spaces/MSD/pages/892796967/Steps+to+test+MOSIP+authentication)

---

<div class="post-metadata">

**Author:** ![sanchi-singh24](https://dub1.discourse-cdn.com/flex017/user_avatar/community.mosip.io/sanchi-singh24/32/538_2.png) [@sanchi-singh24](https://community.mosip.io/u/sanchi-singh24)\
**Post date:** [October 23, 2023, 2:19pm UTC](https://community.mosip.io/t/what-postman-collection-to-import-to-test-mosip-authentication-where-to-get-the-collection/533/18 "2023-10-23T14:19:58Z")

</div>

Hi @rcsampang

Apologies for the trouble from our end, we will give you the right steps which you can easily build it up.

Best Regards,  
Team MOSIP

---

<div class="post-metadata">

**Author:** ![thamarai\_kannan](https://dub1.discourse-cdn.com/flex017/user_avatar/community.mosip.io/thamarai_kannan/32/83_2.png) [@thamarai\_kannan](https://community.mosip.io/u/thamarai_kannan)\
**Post date:** [November 2, 2023, 8:31am UTC](https://community.mosip.io/t/what-postman-collection-to-import-to-test-mosip-authentication-where-to-get-the-collection/533/19 "2023-11-02T08:31:36Z")

</div>

Dear @rcsampang , please refer the Automation\_M\_1.2.postman\_collection.json

[Steps to test MOSIP authentication - MOSIP Support Desk - MOSIP (atlassian.net)](https://mosip.atlassian.net/wiki/spaces/MSD/pages/892796967/Steps+to+test+MOSIP+authentication)

---

<div class="post-metadata">

**Author:** ![rcsampang](https://avatars.discourse-cdn.com/v4/letter/r/ecccb3/32.png) [@rcsampang](https://community.mosip.io/u/rcsampang)\
**Post date:** [November 6, 2023, 9:06am UTC](https://community.mosip.io/t/what-postman-collection-to-import-to-test-mosip-authentication-where-to-get-the-collection/533/20 "2023-11-06T09:06:39Z")

</div>

@thamarai_kannan Thank you for this.

After adding the variables url and protocol and editing the secretkeys I managed to run the collection _ **almost** _ successfully.

I still encountered some errors. What should be the correct partnerType ? In the collection uploaded it is RELYING\_PARTY. I tried changing it with Auth\_Partner but it is also not the correct value.

EDIT - I re-encoded RELYING\_PARTY as partnerType because I saw that it didn’t produce an error when I run the Collection again as downloaded, although without any edits to the collection produces 108 errors.

So I edited the collection again to input variables, secretKey(s), user with PARTNERMANAGER role and password to reflect values in our MOSIP platform.

After doing this, there are only 22 errors, 4 tests passed, 6 tests failed which is an improvement with the previous run of 105 errors.

The first one of this error is the following

GET [https://api-internal.mymosip.edu.ph/v1/keymanager/getCertificate?applicationId=ROOT:](https://api-internal.mymosip.edu.ph/v1/keymanager/getCertificate?applicationId=ROOT:) {  
“Network”: {  
“addresses”: {  
“local”: {  
“address”: “10.207.102.5”,  
“family”: “IPv4”,  
“port”: 56480  
},  
“remote”: {  
“address”: “10.206.100.170”,  
“family”: “IPv4”,  
“port”: 443  
}  
},  
“tls”: {  
“reused”: false,  
“authorized”: true,  
“authorizationError”: null,  
“cipher”: {  
“name”: “ECDHE-RSA-AES128-GCM-SHA256”,  
“standardName”: “TLS\_ECDHE\_RSA\_WITH\_AES\_128\_GCM\_SHA256”,  
“version”: “TLSv1/SSLv3”  
},  
“protocol”: “TLSv1.2”,  
“ephemeralKeyInfo”: {},  
“peerCertificate”: {  
“subject”: {  
“commonName”: “mymosip.edu.ph”,  
“alternativeNames”: “DNS:_.mymosip.edu.ph, DNS:mymosip.edu.ph"  
},  
“issuer”: {  
“country”: “US”,  
“organization”: “Let’s Encrypt”,  
“commonName”: “R3”  
},  
“validFrom”: “Oct 26 06:25:29 2023 GMT”,  
“validTo”: “Jan 24 06:25:28 2024 GMT”,  
“fingerprint”: “3F:8E:A3:53:CA:90:27:9A:42:1D:7E:03:EA:5C:A2:2C:3B:6C:59:F0”,  
“serialNumber”: “0439a0e83b7be954a2f67f81b35bdd246ec1”  
}  
}  
},  
“Request Headers”: {  
“user-agent”: “PostmanRuntime/7.34.0”,  
“accept”: "_/\*”,  
“cache-control”: “no-cache”,  
“postman-token”: “b69095aa-614b-48ea-8e49-4ed683304c1a”,  
“host”: “api-internal.mymosip.edu.ph”,  
“accept-encoding”: “gzip, deflate, br”,  
“connection”: “keep-alive”,  
“cookie”: “Authorization=eyJhbGciOiJSUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICJqc05CR01jeUh2cWJEeExnMjluRV9pMWZRc2plUlFlalpaYlJKd3FfdHE4In0.eyJleHAiOjE2OTkzNzk4MDksImlhdCI6MTY5OTM0MzgwOSwianRpIjoiZGY1MGQ4NzUtO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aeE7oKOMpdI5bnG0rrvJMS4jCknlGVEtFae7njWrD78J1IaV6D\_NclDoaC2HR9tYWJVrADjulPbYYU54ecwC0Mg\_OxDMG\_2PuTCPeNwyRKUql2eCnycOmyY2qX-xji1D79TXxeQGAY\_L56xxKu\_SRaRtUKxfOS5qGNtBRx6rRjPGt7OCiNGp-oa5toLXEGafOFUDknXJ0CzkV8nAZU9uPURB6RHJRycOUg2JaI5\_iUZldua6ngtXIYZEmtBO5-VzkZoLBzyDOIPQ”  
},  
“Response Headers”: {  
“server”: “nginx/1.18.0 (Ubuntu)”,  
“date”: “Tue, 07 Nov 2023 07:56:50 GMT”,  
“content-type”: “application/json;charset=UTF-8”,  
“content-length”: “161”,  
“connection”: “keep-alive”,  
“x-content-type-options”: “nosniff”,  
“x-xss-protection”: “1; mode=block”,  
“cache-control”: “no-cache, no-store, max-age=0, must-revalidate”,  
“pragma”: “no-cache”,  
“expires”: “0”,  
“x-frame-options”: “SAMEORIGIN”,  
“x-envoy-upstream-service-time”: “5”  
},  
**“Response Body”: “{"id":null,"version":null,"responsetime":"2023-11-07T07:56:50.866Z","metadata":null,"response":null,"errors":[{"errorCode":"KER-ATH-403","message":"Forbidden"}]}”**  
**}**  
**TypeError: Cannot read properties of null (reading ‘certificate’)**

Any help on how to fix this error?

The rest of the errors I think is caused by the first one.

NOTE [http://create](http://create) 551 in keycloak as a user and assign role auth\_partner/: {  
“Error”: “getaddrinfo ENOTFOUND create 551 in keycloak as a user and assign role auth\_partner”,  
“Request Headers”: {  
“user-agent”: “PostmanRuntime/7.34.0”,  
“accept”: “_/_”,  
“cache-control”: “no-cache”,  
“postman-token”: “1e181a1b-443a-4b9b-ad98-f52b952c5db7”,  
“host”: “create 551 in keycloak as a user and assign role auth\_partner”,  
“accept-encoding”: “gzip, deflate, br”,  
“connection”: “keep-alive”  
}  
}  
TypeError: Cannot read properties of null (reading ‘certificate’)  
TypeError: Cannot read properties of null (reading ‘certificate’)  
TypeError: Cannot read properties of null (reading ‘signedCertificateData’)  
TypeError: Cannot read properties of null (reading ‘signedCertificateData’)  
TypeError: Cannot read properties of null (reading ‘certificate’)  
TypeError: Cannot read properties of null (reading ‘certificate’)  
TypeError: Cannot read properties of null (reading ‘signedCertificateData’)  
TypeError: Cannot read properties of null (reading ‘certificate’)  
TypeError: Cannot read properties of null (reading ‘certificate’)  
TypeError: Cannot read properties of null (reading ‘signedCertificateData’)  
JSONError: Unexpected token ‘\<’ at 1:1  
\<!doctype html\>HTTP Status 400 – Bad Request\</titl  
^  
TypeError: Cannot read properties of null (reading ‘identity’)  
JSONError: Unexpected token ‘\<’ at 1:1  
\<!doctype html\>HTTP Status 400 – Bad Request\</titl  
^  
JSONError: Unexpected token ‘\<’ at 1:1  
\<!doctype html\>HTTP Status 400 – Bad Request\</titl  
^  
TypeError: Cannot read properties of null (reading ‘documents’)  
TypeError: Cannot read properties of undefined (reading ‘BIR’)  
JSONError: Unexpected token ‘\<’ at 1:1  
\<!doctype html\>HTTP Status 400 – Bad Request\</titl  
^  
JSONError: Unexpected token ‘\<’ at 1:1  
\<!doctype html\>HTTP Status 400 – Bad Request\</titl  
^  
TypeError: Cannot read properties of null (reading ‘vid’)  
TypeError: Cannot read properties of null (reading ‘requestId’)

[Next page](https://community.mosip.io/t/what-postman-collection-to-import-to-test-mosip-authentication-where-to-get-the-collection/533.md?page=2)
