Error while downloading certificate #19
-
@amit-tarento For that, I have set up the RC service in my local docker build was successful and I have created the schema and template using the below reference I have generated the certificate and I got the success message while downloading the certificate as a PDF I'm getting the below error Without passing the application/pdf in the header, I'm getting a JSON response. Please help me to fix the error cc - @aks30 @vijiurs @kiranharidas187 @varsha-sl @Prateek-slokam @aishwaryashikshalokam |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 5 replies
-
@priyanka-TL Please pass below header |
Beta Was this translation helpful? Give feedback.
-
The issue was resolved after modifying the context part of credential_template.json updated context |
Beta Was this translation helpful? Give feedback.
The issue was resolved after modifying the context part of credential_template.json
"@context": [ "https://gist.githubusercontent.com/reshmi-nair/386ef6d832236014b7d1037ad4de3da7/raw/8288d9739f3e7946740b4119d0f5f1991695c2a5/v1_context.json", "https://gist.githubusercontent.com/reshmi-nair/d4043c6f74bf98e9fa60232ebf8a6af4/raw/6d17f5bfd48daca5281e5dbef9b384f7cc9d301f/sunbird_context.json" ],
updated context
"@context": [ "https://www.w3.org/2018/credentials/v1", "https://gist.githubusercontent.com/reshmi-nair/386ef6d832236014b7d1037ad4de3da7/raw/8288d9739f3e7946740b4119d0f5f1991695c2a5/v1_context.json", "https://gist.githubusercontent.com/reshmi-nair/d4043c6f74bf98e9fa60232ebf8a6af4/raw/6d1…