Error :-
local.ERROR: Something went wrong while fetching Pinterest API in fetchPinterestData: cURL error 3: (see https://curl.haxx.se/libcurl/c/libcurl-errors.html)
Reason:-

Solution:-

$client = new Client(['base_uri' => 'http://pinterest']);
$response = $client->post('/api/getPinterestData', [
'json' => [
'username' => $username // Pass the extracted username in the request body as JSON
]
]);
Env:-
PINTEREST_BASE_URL=http://pinterest
PINTEREST_FETCH_PINTEREST_URL=/api/getPinterestData
Hopefully, it will help you!!!