DocuSign\eSign\Client\ApiException Object
(
[responseBody:protected] => O:8:"stdClass":2:{s:9:"errorCode";s:21:"TEMPLATE_NOT_PROVIDED";s:7:"message";s:26:"Template was not provided.";}
[responseHeaders:protected] => Array
(
[0] => HTTP/1.1 400 Bad Request
[Cache-Control] => no-cache
[Content-Length] => 76
[Content-Type] => application/json; charset=utf-8
[X-RateLimit-Reset] => 1608976800
[X-RateLimit-Remaining] => 999
[X-RateLimit-Limit] => 1000
[X-BurstLimit-Remaining] => 499
[X-BurstLimit-Limit] => 500
[X-DocuSign-TraceToken] => bf4986bd-08d9-4b9f-8ee8-3ab663a3be33
[Date] => Sat, 26 Dec 2020 09:28:06 GMT
[Set-Cookie] => BIGipServerpool_SE2_NA4_API=!8lEzFwAuCiW2VuOP3XmkN+H0HpYLSTlEmnTazY5b3g+V4NmRFecVFFxvQFAyKi2N7Mr/VUMsEobhJw==; path=/; Httponly; Secure
)
[responseObject:protected] => DocuSign\eSign\Model\ErrorDetails Object
(
[container:protected] => Array
(
[error_code] =>
[message] =>
)
)
[message:protected] => Error while requesting server, received a non successful HTTP code [400] with response Body: O:8:"stdClass":2:{s:9:"errorCode";s:21:"TEMPLATE_NOT_PROVIDED";s:7:"message";s:26:"Template was not provided.";}
[string:Exception:private] =>
[code:protected] => 400
[file:protected] => D:\xampp\htdocs\docusign\docusign-api\src\Client\ApiClient.php
[line:protected] => 330
[trace:Exception:private] => Array
(
[0] => Array
(
[file] => D:\xampp\htdocs\docusign\docusign-api\src\Api\EnvelopesApi.php
[line] => 4117
[function] => callApi
[class] => DocuSign\eSign\Client\ApiClient
[type] => ->
[args] => Array
(
[0] => /v2.1/accounts/6995353/envelopes
[1] => POST
[2] => Array
(
)
[3] => {"compositeTemplates":[{},{}],"emailBlurb":"Blanditiis asperiores quis ut est officiis. Fugit enim magni omnis numquam nostrum sapiente harum. Nulla voluptatum ut iure officiis et sint.","emailSubject":"Consectetur provident magnam magni dolorem perspiciatis adipisci.","signerCanSignOnMobile":"true","status":""}
[4] => Array
(
[X-DocuSign-Authentication] => {"Username":"docs@acerealtypartners.com","Password":"password123","IntegratorKey":"9a676893-6f3c-40cc-baf6-17fa51192f3c"}
[X-DocuSign-SDK] => PHP
[Accept] => application/json
[Content-Type] => application/json
)
[5] => \DocuSign\eSign\Model\EnvelopeSummary
[6] => /v2.1/accounts/{accountId}/envelopes
)
)
[1] => Array
(
[file] => D:\xampp\htdocs\docusign\docusign-api\src\Api\EnvelopesApi.php
[line] => 4023
[function] => createEnvelopeWithHttpInfo
[class] => DocuSign\eSign\Api\EnvelopesApi
[type] => ->
[args] => Array
(
[0] => 6995353
[1] => DocuSign\eSign\Model\EnvelopeDefinition Object
(
[container:protected] => Array
(
[access_control_list_base64] =>
[accessibility] =>
[allow_comments] =>
[allow_markup] =>
[allow_reassign] =>
[allow_recipient_recursion] =>
[allow_view_history] =>
[any_signer] =>
[asynchronous] =>
[attachments] =>
[attachments_uri] =>
[authoritative_copy] =>
[authoritative_copy_default] =>
[auto_navigation] =>
[brand_id] =>
[brand_lock] =>
[certificate_uri] =>
[completed_date_time] =>
[composite_templates] => Array
(
[0] => DocuSign\eSign\Model\CompositeTemplate Object
(
[container:protected] => Array
(
[composite_template_id] =>
[document] =>
[inline_templates] =>
[pdf_meta_data_template_sequence] =>
[server_templates] =>
)
)
[1] => DocuSign\eSign\Model\CompositeTemplate Object
(
[container:protected] => Array
(
[composite_template_id] =>
[document] =>
[inline_templates] =>
[pdf_meta_data_template_sequence] =>
[server_templates] =>
)
)
)
[copy_recipient_data] =>
[created_date_time] =>
[custom_fields] =>
[custom_fields_uri] =>
[declined_date_time] =>
[deleted_date_time] =>
[delivered_date_time] =>
[disable_responsive_document] =>
[documents] =>
[documents_combined_uri] =>
[documents_uri] =>
[email_blurb] => Blanditiis asperiores quis ut est officiis. Fugit enim magni omnis numquam nostrum sapiente harum. Nulla voluptatum ut iure officiis et sint.
[email_settings] =>
[email_subject] => Consectetur provident magnam magni dolorem perspiciatis adipisci.
[enable_wet_sign] =>
[enforce_signer_visibility] =>
[envelope_attachments] =>
[envelope_documents] =>
[envelope_id] =>
[envelope_id_stamping] =>
[envelope_location] =>
[envelope_metadata] =>
[envelope_uri] =>
[event_notification] =>
[event_notifications] =>
[expire_after] =>
[expire_date_time] =>
[expire_enabled] =>
[external_envelope_id] =>
[folders] =>
[has_comments] =>
[has_form_data_changed] =>
[has_wav_file] =>
[holder] =>
[initial_sent_date_time] =>
[is21_cfr_part11] =>
[is_dynamic_envelope] =>
[is_signature_provider_envelope] =>
[last_modified_date_time] =>
[location] =>
[lock_information] =>
[message_lock] =>
[notification] =>
[notification_uri] =>
[password] =>
[power_form] =>
[purge_completed_date] =>
[purge_request_date] =>
[purge_state] =>
[recipients] =>
[recipients_lock] =>
[recipients_uri] =>
[sender] =>
[sent_date_time] =>
[signer_can_sign_on_mobile] => true
[signing_location] =>
[status] =>
[status_changed_date_time] =>
[status_date_time] =>
[template_id] =>
[template_roles] =>
[templates_uri] =>
[transaction_id] =>
[use_disclosure] =>
[voided_date_time] =>
[voided_reason] =>
)
)
[2] => DocuSign\eSign\Api\EnvelopesApi\CreateEnvelopeOptions Object
(
[cdse_mode:protected] =>
[change_routing_order:protected] =>
[completed_documents_only:protected] =>
[merge_roles_on_draft:protected] =>
[tab_label_exact_matches:protected] =>
)
)
)
[2] => Array
(
[file] => D:\xampp\htdocs\docusign\create_contract.php
[line] => 209
[function] => createEnvelope
[class] => DocuSign\eSign\Api\EnvelopesApi
[type] => ->
[args] => Array
(
[0] => 6995353
[1] => DocuSign\eSign\Model\EnvelopeDefinition Object
(
[container:protected] => Array
(
[access_control_list_base64] =>
[accessibility] =>
[allow_comments] =>
[allow_markup] =>
[allow_reassign] =>
[allow_recipient_recursion] =>
[allow_view_history] =>
[any_signer] =>
[asynchronous] =>
[attachments] =>
[attachments_uri] =>
[authoritative_copy] =>
[authoritative_copy_default] =>
[auto_navigation] =>
[brand_id] =>
[brand_lock] =>
[certificate_uri] =>
[completed_date_time] =>
[composite_templates] => Array
(
[0] => DocuSign\eSign\Model\CompositeTemplate Object
(
[container:protected] => Array
(
[composite_template_id] =>
[document] =>
[inline_templates] =>
[pdf_meta_data_template_sequence] =>
[server_templates] =>
)
)
[1] => DocuSign\eSign\Model\CompositeTemplate Object
(
[container:protected] => Array
(
[composite_template_id] =>
[document] =>
[inline_templates] =>
[pdf_meta_data_template_sequence] =>
[server_templates] =>
)
)
)
[copy_recipient_data] =>
[created_date_time] =>
[custom_fields] =>
[custom_fields_uri] =>
[declined_date_time] =>
[deleted_date_time] =>
[delivered_date_time] =>
[disable_responsive_document] =>
[documents] =>
[documents_combined_uri] =>
[documents_uri] =>
[email_blurb] => Blanditiis asperiores quis ut est officiis. Fugit enim magni omnis numquam nostrum sapiente harum. Nulla voluptatum ut iure officiis et sint.
[email_settings] =>
[email_subject] => Consectetur provident magnam magni dolorem perspiciatis adipisci.
[enable_wet_sign] =>
[enforce_signer_visibility] =>
[envelope_attachments] =>
[envelope_documents] =>
[envelope_id] =>
[envelope_id_stamping] =>
[envelope_location] =>
[envelope_metadata] =>
[envelope_uri] =>
[event_notification] =>
[event_notifications] =>
[expire_after] =>
[expire_date_time] =>
[expire_enabled] =>
[external_envelope_id] =>
[folders] =>
[has_comments] =>
[has_form_data_changed] =>
[has_wav_file] =>
[holder] =>
[initial_sent_date_time] =>
[is21_cfr_part11] =>
[is_dynamic_envelope] =>
[is_signature_provider_envelope] =>
[last_modified_date_time] =>
[location] =>
[lock_information] =>
[message_lock] =>
[notification] =>
[notification_uri] =>
[password] =>
[power_form] =>
[purge_completed_date] =>
[purge_request_date] =>
[purge_state] =>
[recipients] =>
[recipients_lock] =>
[recipients_uri] =>
[sender] =>
[sent_date_time] =>
[signer_can_sign_on_mobile] => true
[signing_location] =>
[status] =>
[status_changed_date_time] =>
[status_date_time] =>
[template_id] =>
[template_roles] =>
[templates_uri] =>
[transaction_id] =>
[use_disclosure] =>
[voided_date_time] =>
[voided_reason] =>
)
)
[2] => DocuSign\eSign\Api\EnvelopesApi\CreateEnvelopeOptions Object
(
[cdse_mode:protected] =>
[change_routing_order:protected] =>
[completed_documents_only:protected] =>
[merge_roles_on_draft:protected] =>
[tab_label_exact_matches:protected] =>
)
)
)
[3] => Array
(
[file] => D:\xampp\htdocs\docusign\create_contract.php
[line] => 9
[function] => signatureRequestFromTemplate
[args] => Array
(
[0] => docs@acerealtypartners.com
[1] => password123
[2] => 9a676893-6f3c-40cc-baf6-17fa51192f3c
[3] => https://NA4.docusign.net/restapi
)
)
)
[previous:Exception:private] =>
[xdebug_message] => ( ! ) DocuSign\eSign\Client\ApiException: Error while requesting server, received a non successful HTTP code [400] with response Body: O:8:"stdClass":2:{s:9:"errorCode";s:21:"TEMPLATE_NOT_PROVIDED";s:7:"message";s:26:"Template was not provided.";} in D:\xampp\htdocs\docusign\docusign-api\src\Client\ApiClient.php on line 330 |
Call Stack |
# | Time | Memory | Function | Location |
1 | 0.0010 | 461400 | {main}( ) | ...\create_contract.php:0 |
2 | 0.0015 | 465720 | signatureRequestFromTemplate( ) | ...\create_contract.php:9 |
3 | 1.8428 | 5214152 | DocuSign\eSign\Api\EnvelopesApi->createEnvelope( ) | ...\create_contract.php:209 |
4 | 1.8428 | 5214152 | DocuSign\eSign\Api\EnvelopesApi->createEnvelopeWithHttpInfo( ) | ...\EnvelopesApi.php:4023 |
)