I created a create company form with necessary fields ,while submitting the form i am getting the following error .
add_company_form()
add_company_form_submit()-----------this hook is not calling properly.
GET /v1/o/XYZ/companies/tesrrww HTTP/1.1 Host: edge-qa.ebiz.XYZ.com:8443 accept: application/json; charset=utf-8 User-Agent: DevPortal/4.16.09.00 Guzzle/3.9.3 curl/7.29.0 PHP/7.0.27 Authorization: Basic [**masked**] Referer: https://samplesolutionsconnect-qa.ebiz.xyz.com/api_company/add <<<<<<<< HTTP/1.1 404 Not Found Date: Tue, 18 Sep 2018 10:27:48 GMT, Tue, 18 Sep 2018 10:27:49 GMT X-Apigee.fault-code: developer.service.CompanyDoesNotExist Content-Type: application/json X-Apigee.user: svc-apigee X-Apigee.organization: XYZ Content-Length:
Are you having a problem with Drupal form hooks?
Or something else?
I think the Apigee part is maybe a distraction.
If your form hook is not getting called, that's a basic Drupal issue. Solve that first. LMGTFY.
The sample (unformatted) GET payload you provided isn't helpful for diagnosing Drupal form hook problems.
User | Count |
---|---|
5 | |
2 | |
1 | |
1 | |
1 |