api-manager icon indicating copy to clipboard operation
api-manager copied to clipboard

[apim 4.3] 412 Precondition Failed

Open wh0am111 opened this issue 1 year ago • 0 comments

Description

1716428724426 when i request a wechat interface,give me the response 412 Precondition Failed;no service error

someone can use this to test

POST https://api.weixin.qq.com/cgi-bin/component/api_start_push_ticket

body {}

Affected Component

APIM

Version

4.3

Environment Details (with versions)

just APIM

openapi: 3.0.1 info: title: WeChat version: '1' servers:

  • url: / security:
  • default: [] paths: /*: get: responses: '200': description: OK security: - default: [] x-auth-type: Application & Application User x-throttling-tier: Unlimited x-wso2-application-security: security-types: - oauth2 optional: false put: responses: '200': description: OK security: - default: [] x-auth-type: Application & Application User x-throttling-tier: Unlimited x-wso2-application-security: security-types: - oauth2 optional: false post: responses: '200': description: OK security: - default: [] x-auth-type: Application & Application User x-throttling-tier: Unlimited x-wso2-application-security: security-types: - oauth2 optional: false delete: responses: '200': description: OK security: - default: [] x-auth-type: Application & Application User x-throttling-tier: Unlimited x-wso2-application-security: security-types: - oauth2 optional: false patch: responses: '200': description: OK security: - default: [] x-auth-type: Application & Application User x-throttling-tier: Unlimited x-wso2-application-security: security-types: - oauth2 optional: false '/cgi-bin/componentloginpage?component_appid=wx37c61eec26f53f2c&auth_type=1&pre_auth_code=preauthcode@@@DDb1dHK23y7Ni2c6mInMkaGghs0l7Y3zTS1F6D9coyDBETqv7ClKBAWdHTXN-c4HsLuEnnBAWTPO2ODvQR7tvg&redirect_uri=https://devcloud.ichub.com/api/general-admin/v1/wx/api/openplatform/callback': get: parameters: [] responses: '200': description: ok security: - default: [] x-auth-type: Application & Application User x-throttling-tier: Unlimited x-wso2-application-security: security-types: - oauth2 optional: false /cgi-bin/component/api_start_push_ticket: post: parameters: [] requestBody: description: '' content: application/json: schema: type: object required: true responses: '200': description: ok security: - default: [] x-auth-type: Application & Application User x-throttling-tier: Unlimited x-wso2-application-security: security-types: - oauth2 optional: false components: securitySchemes: default: type: oauth2 flows: implicit: authorizationUrl: 'https://test.com' scopes: {} x-wso2-api-key-header: ApiKey x-wso2-auth-header: Authorization x-wso2-cors: corsConfigurationEnabled: false accessControlAllowOrigins: [] accessControlAllowCredentials: true accessControlAllowHeaders:
    • authorization
    • Access-Control-Allow-Origin
    • Content-Type
    • SOAPAction
    • apikey
    • Internal-Key accessControlAllowMethods:
    • GET
    • PUT
    • POST
    • DELETE
    • PATCH
    • OPTIONS x-wso2-production-endpoints: urls:
    • 'https://api.weixin.qq.com' type: http x-wso2-sandbox-endpoints: urls:
    • 'https://api.weixin.qq.com' type: http x-wso2-basePath: /api/1 x-wso2-transports:
  • http
  • https x-wso2-application-security: security-types:
    • oauth2 optional: false x-wso2-response-cache: enabled: false cacheTimeoutInSeconds: 300

Related Issues

No response

Suggested Labels

No response

wh0am111 avatar May 23 '24 01:05 wh0am111