CoolRunner-dk / business-central-php

SDK for Microsoft Business Central
MIT License
11 stars 14 forks source link

Undefined array key "@attributes" #19

Open joaopedromd opened 12 months ago

joaopedromd commented 12 months ago

Hi. Im trying to connect to my BC Environment and im getting an ErrorException Undefined array key "@attributes" on line 'client_id' => .....

` public function test(){

    $sdk = SDK::instance('######', [

        // OAuth2 [Required]

        'client_id' => '######',

        // Basic auth token [Required]

        'client_secret'    => '######',

        // Default collection size [Optional]

        // Amount of entities to load initially and per page per collection

        // Can be changed on the fly on any collection instance

        'default_collection_size' => 20,

        // Default environment [Optional - 'production' by default]

        'environment' => 'TESTES'

    ]);

}`
cesarureno commented 8 months ago

Any news this issue?

kevinyangzhihao commented 1 month ago

Any news this issue?