The scope is likely missing "Pre-auth & Capture - Web Payment / Native Payment / Dynamic QR / App Invoke".
For test environments, add "Pre-auth & Capture - Web Payment / Native Payment / Dynamic QR / App Invoke" to the scope from PayPay for developer.
For the production environment, contact us as merchants cannot change the setting.