When I try to import a simple configuration I get an error "An error occurred while processing with arguments:" Steps to recreate, Enable the rest and basic_auth modules and then import the following yml content in admin/config/development/configuration/single/import. I selected "Simple Configuration" for the Configuration type and Configuration name value is rest.settings
----------------------------------
resources:
entity:node:
GET:
supported_formats:
- json
supported_auth:
- basic_auth
POST:
supported_formats:
- json
supported_auth:
- basic_auth
PATCH:
supported_formats:
- json
supported_auth:
- basic_auth
DELETE:
supported_formats:
- json
supported_auth:
- basic_auth
link_domain: ~
-------------------------

Once I click on import I get the above mentioned error. But the configurations seems to imported without any issue because the rest call seems to work.

Files: 

Comments

nmeegama created an issue. See original summary.

nmeegama’s picture

Version: 8.1.x-dev » 8.1.2
anavarre’s picture

Got the same error message when trying to import a flag and a flag-based view. Note that I didn't get the error on vanilla 8.2.x but only on an already existing site running 8.1.2 - Couldn't say if it's related or not for now.

luizsgpetri’s picture

Same error importing a content type: An error occurred while processing with arguments

The content type is imported event with the error.

anavarre’s picture

Title: Error message on rest.settings single import » Importing a view throw An error occurred while processing with arguments
Version: 8.1.2 » 8.4.x-dev
Issue tags: -Drupal 8.x, -REST API
anavarre’s picture

Title: Importing a view throw An error occurred while processing with arguments » Importing configuration (e.g. views, content type) throws An error occurred while processing with arguments
ExTexan’s picture

We get this error quite frequently. I've never noticed that the configuration update(s) were not successful.

Looking at the finishBatch process, perhaps $success isn't getting set to TRUE in some cases, even if the import process completes without errors.