Error while creating an API product in AWS Data Exchange.

0

Hello, I am trying to create an API product programmatically, I'm getting an error while executing CREATE_DATASET in python using Boto3 module. This is the error: [{'Code': 'VALIDATION_EXCEPTION', 'Message': 'Unable to find uploaded OpenAPI 3.0 JSON document.'}], I tried many ways of uploading the document, but they failed, any idea how to solve it??? I was following this blog to create the product. Data Exchange Blog

질문됨 일 년 전326회 조회
1개 답변
0

Hi there! It seems like the documentation is missing a couple of details; we will get that fixed!

In terms of providing the OpenAPI specification while creating an API data set, this can be done as part of the CreateJob step. One of the parameters there is the ApiSpecificationMd5Hash, which is used for validation. When that is provided, an ApiSpecificationUploadUrl is then provided in the response. Once the specification is uploaded, start the job.

AWS
jchan
답변함 일 년 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠