Skip to content

Non Evaluation of Errors #62

Closed
Closed
@timage22

Description

@timage22

When trying to connect the AEP Sink Connector to the AEP Cloud, we noticed a problem. The connector only checks for errors in HTTP communication. So if the communication is technically OK and a 2xx code is returned, the response from the AEP Cloud is not evaluated further. However, if the AEP Cloud detects an error in the sent data, it sends back an error code 400 in the response, for example. There are now 2 problems here

  1. the error is only logged at debug level.
  2. the error is not responded to at all.

in the file:

java/com/adobe/platform/streaming/sink/impl/AEPPublisher.java

from line 80 . the problem with the debug logging is the following line :
~ line 90 -> 92

LOG.debug("Successfully published data to Adobe Experience Platform: {}", response);

Unfortunately, the response object is not evaluated here and is only written to the debug log.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions